/*
 * @Author: Du Weixing duweixing@sgsimulation.com
 * @Date: 2024-09-04 10:35:46
 * @LastEditors: Du Weixing duweixing@sgsimulation.com
 * @LastEditTime: 2024-09-10 11:12:29
 * @FilePath: \SGFEM\SGFem\PublicElement\Common\include\PublicElementExport.h
 * @Description: 用于 Windows 环境下变量、函数、类等的导入导出
 * 
 * Copyright (c) 2024 by 神工仿真, All Rights Reserved. 
 */

#pragma once

#if defined(_WIN32)
#  if defined(EXPORTING_PublicElement)
#    define PublicElement_DECLSPEC __declspec(dllexport)
#  else
#    define PublicElement_DECLSPEC __declspec(dllimport)
#  endif
#else // non windows
#  define PublicElement_DECLSPEC
#endif